package com.sixth.service;

import com.sixth.bean.MarketCoupon;
import com.sixth.bean.MarketCouponUser;
import com.sixth.bean.bo.*;
import com.sixth.bean.common.BasePageInfo;
import com.sixth.bean.common.BasePageInfoVo;
import com.sixth.bean.vo.AddCouponVO;
import com.sixth.bean.vo.BaseListVO;
import com.sixth.bean.vo.CouponVO;
import com.sixth.bean.vo.UserCouponVO;

public interface CouponService {


    BaseListVO<MarketCoupon> getCouponList(CouponPageInfo couponPageInfo);

    BaseListVO<MarketCoupon> getWXCouponList(CouponPageInfo couponPageInfo);

    MarketCoupon updateCoupon(CouponBO couponBO);

    CouponVO getCouponDetail(Integer id);

    BaseListVO<MarketCouponUser> getCouponListUser(CouponUserPage couponUserPage);

    int delCoupon(CouponDelBO couponDelBO);

    AddCouponVO addCoupon(AddCouponBO addCouponBO);

    int receiveCoupon(Integer couponId,Integer userId);

    Object getMyCoupons(CouponPageInfo couponPageInfo,Integer userId);

    int exchangeCoupon(CouponCodeBO couponCodeBO);

    BaseListVO<UserCouponVO> selectList(Integer cartId);
}
